package com.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.entity.Product;
import com.example.entity.ProductHealth;

import java.util.List;
import java.util.Map;

public interface ProductHealthMapper extends BaseMapper<ProductHealth> {
    List<ProductHealth> list(Map<String, Object> map);

    Long getTotal(Map<String, Object> map);

    void add(ProductHealth productHealth);

    void update(ProductHealth productHealth);

    ProductHealth findById(Integer id);
}
